import { request } from '@/utils/request.js'
/**
 * 获取法律讲堂列表
 */
export const apiGetLegaClassroomList = (params) => {
	return request({
		url: '/api/petition/legalClassroom/list',
		method: 'GET',
		data: params
	})
}

/**
 * 获取法律讲堂详情
 */
export const apiGetLegaClassroomDetail = (id) => {
	return request({
		url: '/api/petition/legalClassroom/' + id,
		method: 'GET'
	})
}